﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HRM.DAL.DAO;
using HRM.DAL.Report;
using HRM.ReportGateway;

namespace HRM.ReportManager
{
    public class RptEmployeeManager
    {
        RptEmployeeGateway gateway = new RptEmployeeGateway();
        public List<EmployeeReport> SearchEmployeeByProject(int projectId)
        {
            return gateway.SearchEmployeeByProject(projectId);
        }

        public List<EmployeeReport> SearchEmployeeByStatus(string status)
        {
            return gateway.SearchEmployeeByStatus(status);
        }

        public List<EmployeeReport> SearchEmployeeByCatagory(Catagory catagory)
        {
            return gateway.SearchEmployeeByCatagory(catagory.Id);
        }
    }
}